<style type="text/css">
    .headlineFont {
        font-size: 18px
    };
    .confirmFont {
        font-size: 22px
    }
</style>

<div class="modal-header">
    <h4 class="modal-title">产品信息</h4>
</div>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">
    <div class="col-xs-12 " >
        <div class="panel-body">
            <div class="container-fluid">
                <div class="form-group">
                    <label class="col-xs-3 control-label">产品名称</label>
                    <div class="col-xs-6">
                        <input type="text" class="form-control" placeholder="请输入产品名称"
                        ng-model="item.product_name"
                        >
                    </div>
                </div>
                <div class="form-group">

                    <label class="col-xs-3 control-label">产品详情</label>
                    <div class="col-xs-6">
                        <input type="text" class="form-control" placeholder="请输入产品详情"
                        ng-model="item.product_info"
                        >
                    </div>
                </div>
                 
                <div class="form-group">
                    <label class="col-xs-3 control-label">产品特点</label>
                    <div class="col-xs-6">
                        <input type="text" class="form-control" placeholder="请输入产品特点"
                        ng-model="item.product_characteristic"
                        >
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-3 control-label">门市价格</label>
                    <div class="col-xs-3">
                        <div class="input-group ">							
                            <input type="text" class="form-control" placeholder="金额" min='0'
                            ng-model="item.product_rack_rate" value="0" >
                            <span class="input-group-addon">¥</span>
                        </div>
                    </div>                    
                </div>
                <div class="form-group">
                    <label class="col-xs-3 control-label">会员价格</label>
                    <div class="col-xs-3">
                        <div class="input-group ">							
                            <input type="text" class="form-control" placeholder="金额" min='0'
                            ng-model="item.product_membership_price" value="0" >
                            <span class="input-group-addon">¥</span>
                        </div>
                    </div>                    
                </div>
                <div class="form-group">
                    <label class="col-xs-3 control-label">线上价格</label>
                    <div class="col-xs-3">
                        <div class="input-group ">							
                            <input type="text" class="form-control" placeholder="金额" min='0'
                            ng-model="item.product_online_price" value="0" >
                            <span class="input-group-addon">¥</span>
                        </div>
                    </div>                    
                </div>
                <div class="form-group">
                    <label class="col-xs-3 control-label">产品图片</label>
                    <div class="col-sm-4">
                        <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                            <i class="fa fa-file-image-o"></i> 添加图片
                        </button>                    
                    </div>                 
                </div>
                <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
                    <div class="col-sm-3" >         
                     </div> 
                    <div class="col-sm-9">
                        <img ng-src="{{item}}" width="40%" height="150"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                        <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                        <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
                    </div> 
                </div>  

            </div>
        </div>
    </div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>
    
    
    